import {request} from 'umi'
import {ILoginData} from '@/utils/types'

//登录
export let login =(data:ILoginData)=>{
    return request('/auth/loginByMobile',{
        method:'Post',
        params:{},
        data:data
    }) 
}